package log;

public interface ILogSteam
{
    // return null, if reach the end of the stream, otherwise read should be blocked until new item received
    LogItem read();

    // close current stream, if read is blocking, null should return after stream is closed
    void close();
}
